home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / games_d / pevils11.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1995-06-28  |  3KB  |  85 lines

  1. echo off
  2. cls
  3. if %1a == a: goto WHATDRIVE
  4. if %1b == b: goto WHATDRIVE
  5. if %1 == c: goto START
  6. if %1 == C: goto START
  7. if %1 == d: goto START
  8. if %1 == D: goto START
  9. if %1 == e: goto START
  10. if %1 == E: goto START
  11. if %1 == f: goto START
  12. if %1 == F: goto START 
  13. goto NOTDRIVE
  14. :START
  15. echo  ╔═══════════════════════════════════════════════════════════════════════╗
  16. echo  ║                                                                       ║
  17. echo  ║                   Puffwort's Evil Scheme, Installation                ║
  18. echo  ║                                                                       ║
  19. echo  ║    *  This will create a directory called %1\PUFFWORT on your hard    ║
  20. echo  ║       disk and will install the game files in that directory.         ║
  21. echo  ║                                                                       ║
  22. echo  ║    *  Once the program is installed you can run it by typing PUFF     ║ 
  23. echo  ║       and pressing ENTER.                                             ║
  24. echo  ║                                                                       ║
  25. echo  ║    *  It is important that you run the GO.BAT file.  It contains      ║
  26. echo  ║       important information.  To read this information, type GO       ║
  27. echo  ║       and press ENTER from your DOS prompt.  You may do this either   ║
  28. echo  ║       before or after you install the game program.                   ║
  29. echo  ║                                                                       ║
  30. echo  ║    *  If you do not want this program installed at this time, press   ║
  31. echo  ║       CTRL + C.                                                       ║
  32. echo  ║                                                                       ║
  33. echo  ╚═══════════════════════════════════════════════════════════════════════╝
  34. echo 
  35. pause
  36. cls
  37. if exist %1\PUFFWORT\*.* goto CHECK
  38. echo Making directory %1\PUFFWORT . . .
  39. md %1\PUFFWORT
  40. :CHECK
  41. if exist PUFF.EXE goto CONTINUE
  42. echo 
  43. echo Place the disk containing the game files in the active drive.
  44. echo 
  45. pause
  46. goto CHECK
  47. :CONTINUE
  48. echo 
  49. echo Copying game files . . .
  50. copy *.* %1\PUFFWORT
  51. if not exist %1\PUFFWORT\PUFF.EXE goto INSTALLERROR
  52. cd %1\PUFFWORT
  53. echo 
  54. cls
  55. echo Puffwort's Evil Scheme is installed on your hard disk.  
  56. echo 
  57. echo To run the game type PUFF and press ENTER.
  58. echo 
  59. %1
  60. echo 
  61. goto DONE
  62. :WHATDRIVE
  63. cls
  64. echo Installation Error:  To install the game on your hard disk, you
  65. echo must include the drive as part of the install command.  For
  66. echo example, to install the games on drive C, type INSTALL C: and
  67. echo press ENTER.
  68. goto ERRORQUIT
  69. :NOTDRIVE
  70. cls
  71. echo Installation Error: The hard drive letter can be a letter from C to F,
  72. echo For example, INSTALL C: will install the game on drive C.  You must
  73. echo include a colon after the drive letter.
  74. goto ERRORQUIT
  75. :INSTALLERROR
  76. cls
  77. echo Installation Error: Do you have enough space on your hard disk?
  78. echo Did you give the proper hard drive letter?
  79. goto ERRORQUIT
  80. :ERRORQUIT
  81. echo 
  82. echo Puffwort's Evil Scheme was not installed correctly.
  83. echo 
  84. :DONE
  85.